import 'package:kkhousekeep/generated/json/base/json_convert_content.dart';
import 'package:kkhousekeep/models/base_respond_entity.dart';

BaseRespondEntity $BaseRespondEntityFromJson(Map<String, dynamic> json) {
	final BaseRespondEntity baseRespondEntity = BaseRespondEntity();
	final int? code = jsonConvert.convert<int>(json['code']);
	if (code != null) {
		baseRespondEntity.code = code;
	}
	final dynamic obj = jsonConvert.convert<dynamic>(json['obj']);
	if (obj != null) {
		baseRespondEntity.obj = obj;
	}
	final String? msg = jsonConvert.convert<String>(json['msg']);
	if (msg != null) {
		baseRespondEntity.msg = msg;
	}
	return baseRespondEntity;
}

Map<String, dynamic> $BaseRespondEntityToJson(BaseRespondEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['code'] = entity.code;
	data['obj'] = entity.obj;
	data['msg'] = entity.msg;
	return data;
}